package org.hardcode.rpc.protocol.request;

import org.hardcode.rpc.protocol.base.RpcMessage;

public class RpcRequest extends RpcMessage {

    private static final long serialVersionUID = -7798505047953269712L;

    /**
     * 类名称
     */
    private String   className;
//方法名
    private String  methodName;

    //参数类型数组
    private Class<?>[]  parameterTypes;

    //参数数组
    private Object[]  parameters;
    //服务版本号
    private     String group;

    private String version;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getParameterTypes() {
        return parameterTypes;
    }

    public void setParameterTypes(Class<?>[] parameterTypes) {
        this.parameterTypes = parameterTypes;
    }

    public Object[] getParameters() {
        return parameters;
    }

    public void setParameters(Object[] parameters) {
        this.parameters = parameters;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
